package ru.spbau.goncharova.chat.client.clientMessages;

import ru.spbau.goncharova.chat.client.Message;
import ru.spbau.goncharova.chat.protocol.ProtocolHeader;

public abstract class ClientMessage implements Message {

    @Override
    public byte[] getData() {
        return data;
    }

    @Override
    public ProtocolHeader getHeader() {
        return header;
    }

    protected ProtocolHeader header;
    protected byte[] data = new byte[0];
}
